package com.shrcl.engineerprocess.domain;

import com.shrcl.engineerprocess.domain.EngineerCostEstimation;
import edu.fudan.langlab.domain.workflow.BusinessProcess;
import edu.fudan.mylang.pf.IDAOService;
import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;

public interface CostEstimationDAO extends IDAOService<EngineerCostEstimation> {
  public abstract EngineerCostEstimation create(final Procedure1<? super EngineerCostEstimation> init);
  
  public abstract EngineerCostEstimation getEngineerCostEstimationFromBp(final BusinessProcess bp);
  
  public abstract void delete(final EngineerCostEstimation costEstimation);
}
